package DBLayer;
import ModelLayer.*;

import java.util.ArrayList;

public interface IFDBPerson 
{
	public ArrayList<Customer> listAllCustomers(boolean retriveAssociation);
	public ArrayList<Employee> listAllEmployees(boolean retriveAssociation);
	
	public Customer findCustomer(int id, boolean retriveAssociation);
	public Employee findEmployee(int id, boolean retriveAssociation);
	
	public int insertCustomer(Customer customer) throws Exception;
	public int insertEmployee(Employee employee) throws Exception;
	
	public int updateCustomer(Customer customer);
	public int updateEmployee(Employee employee);
	
	public int deletePerson(int phoneNumber);

	
	public String getCityOnZipCode(int zipCode);
}
